<?php
/**
 * Created by PhpStorm.
 * User: kun
 * Date: 26/6/19
 * Time: 21:59
 */

namespace app\common\lib\exception;

use think\Exception;


class ApiException extends Exception
{
    public $message = '';
    public $code = 0;
    public $httpCode = 500;

    public function __construct($message = "", $httpCode = 0, $code = 0)
    {
        $this->message = $message;
        $this->code = $code;
        $this->httpCode = $httpCode;

    }
}